<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>9*9乘法表</title>
    <script type="text/javascript">
        //把内容输出给浏览器
        document.write('<font color="red">abc</font>');
    </script>
</head>
<body>
<h2 align="center"><font color="#7fff00">9*9乘法表</font></h2>
<table width="60%" align="center" border="1px" cellpadding="0px" cellspacing="0px">
    <script type="text/javascript">
        for (var i=1;i<=9;i++){
            document.write('<tr algin="center">');
            for (var j=1;j<=i;j++){
                document.write('<td align="center" bgcolor="#7fffd4">'+i+'*'+j+'='+i*j+'</td>');
            }
            document.write('</td>');
        }
    </script>
</table>
</body>
</html>